package com.bbtShop.core.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * @author 189****3725
 * @date 2020-10-13 16:47:32
 * @email 
 */
@Data
public class ProductRecode {

    @ApiModelProperty(value = "")
    private Integer id;

    @ApiModelProperty(value = "产品id")
    private Integer productId;

    @ApiModelProperty(value = "生产数量")
    private Integer productionNum;

    @ApiModelProperty(value = "销售数量")
    private Integer salesNum;

    @ApiModelProperty(value = "报损数量")
    private Integer failedNum;

    @ApiModelProperty(value = "试吃数量")
    private Integer testEatNum;

    @ApiModelProperty(value = "赠送数量")
    private Integer giveNum;

    @ApiModelProperty(value = "当天剩余数量")
    private Integer residueNum;

    @ApiModelProperty(value = "日期")
    private Date date;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "最后修改时间")
    private Date updTime;

    @ApiModelProperty(value = "添加时间")
    private Date addTime;

    @ApiModelProperty(value = "备注")
    private String remark;

}